From: | James L Boyd |
Date: | 30 Aug 99 at 19:45:34 |
Subject: | Re: Filter stuff (Was: VisualPrefs problems) |
Simon Hitchen churned out *this* drivel:
>> Weird thing though - if you Peek this location, it'll read -2 if it's
>> on (0 if off), even if you poke it with 2 just before peeking it...anyone
>> know why (just out of curiosity)?
>
> 'Cos you're peeking the whole byte, the rest of the bits could be 0 or
> 1 so it could return any byte value IYSWIM :)
Ah, I always forget you can read smaller than a byte ;)
> BCLR #1,$bfe001 ; filter on
>
> ; or....
>
> BSET #1,$bfe001 ; filter off
^^^ Is the #1 in this the number of the bit then? Not an asm guy ;)
See ya,
The release of atom power has changed everything except our way of
thinking...the solution to this problem lies in the heart of
mankind. If only I had known, I should have become a watchmaker.
-- Albert Einstein
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie